<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta http-equiv="Cache-Control" content="no-siteapp">
  <meta name="format-detection" content="telephone=no">
  <meta name="format-detection" content="email=no">
  <meta name="format-detection" content="address=no">
  <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
  <link rel="shortcut icon" href="" type="image/x-icon">
  <!-- <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> -->
  <title>领取优惠券</title>
  <style media="screen">
    body, html {
      margin: 0;
      padding: 0;
      linear-gradient(45deg, transparent 15px);
      linear-gradient(90deg, rgba(200,0,0,.5) 50%, transparent 0),
    }
    img{
      width: 100%;
      height: 100%;
    }
    .daban, .xinyi{
      width: 70%;
      position: absolute;
      left: 15%;
    }
  </style>
</head>
<body>
  <img id="img" src="" alt="">
  <div class="daban"></div>
  <div class="xinyi"></div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<!-- <script src="https://cdn.bootcss.com/layer/3.0.1/mobile/layer.min.js"></script> -->

<script type="text/javascript">
$(function(){
  window.app = {};
  // app.dynamicLoadingJs=function(e,d){var c=document.createElement("script");var b=document.getElementsByTagName("head")[0];c.src=e;if(typeof d==="function"){var a;c.onload=c.onreadystatechange=function(){if(!a&&(!c.readyState||/loaded|complete/.test(c.readyState))){c.onload=c.onreadystatechange=null;a=true;d()}}}b.appendChild(c)};
  app.dynamicLoadingCss=function(h,i){var j=document.createElement("link");var f=document.getElementsByTagName("head")[0];j.href=h;j.rel="stylesheet";j.type="text/css";if(typeof i==="function"){var g;j.onload=j.onreadystatechange=function(){if(!g&&(!j.readyState||/loaded|complete/.test(j.readyState))){j.onload=j.onreadystatechange=null;g=true;i()}}}f.appendChild(j)};

  app.resPath = 'http://cdn.gzpeiyou.com/single/';
  if(location.href.indexOf('single.com/getcard')>-1){
    app.resPath = '../view/dist/';
  }
  $("#img").attr("src",app.resPath+ 'img/getcard/getcard.png');
  var w = $(".daban").css('width');
  w = Number(w.substring(0,w.length-2));

  $(".daban, .xinyi").css("height",w * 0.5);
  $(".daban").css("top",w * 0.6);
  $(".xinyi").css("top",w * 1.1);
  $(".daban").click(function(){
    location.href = 'http://uc.gzxueersi.com/index.php/Card/Card/index';
  });
  $(".xinyi").click(function(){
    location.href = 'http://uc.gzxueersi.com/index.php/Card/Card/index1';
  });

});



</script>
</html>
